package com.poixson.stopwatch;

import java.util.logging.Logger;

import org.bukkit.plugin.java.JavaPlugin;

public class StopWatch extends JavaPlugin {

	Logger log = Logger.getLogger("Minecraft");

	StopWatchCommandsListener commandsListener;


	public void onEnable() {
		commandsListener = new StopWatchCommandsListener();
		getCommand("stopwatch").setExecutor(commandsListener);
	}


	public void onDisable() {
		try {
			getServer().getScheduler().cancelTasks(this);
		} catch (Exception ignore) {}
	}


}
